package com.sl.ms.sms.api;

import com.sl.ms.sms.dto.SendResultDTO;
import com.sl.ms.sms.dto.SmsInfoDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import springfox.documentation.annotations.ApiIgnore;

import java.util.List;

@FeignClient(name = "sl-express-ms-sms", contextId = "Sms", path = "sms")
@ApiIgnore
public interface SmsFeign {

    @PostMapping("send")
    List<SendResultDTO> send(@RequestBody SmsInfoDTO smsInfoDTO);



}
